<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>人才来了-简历预览</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
<link rel="stylesheet" href="__ROOT__/weixin_statics/css/reset.css">
<link rel="stylesheet" href="__ROOT__/weixin_statics/css/style.css">
    <script src="__ROOT__/weixin_statics/js/jquery-1.7.2.min.js" type="text/javascript"></script>
	<script type="text/javascript" src="__ROOT__/weixin_statics/js/soundmanager2-jsmin.js"></script>
  <style>.hidden{display:none;}</style>
    <script language="javascript">
        $(document).ready(function(){
            //编辑
			$.extend({
				play_mp3:function(mp3){
					mySound = soundManager.createSound({
						url: '__URL__/getvoiceurl/voice/'+mp3
					});
					mySound.play();
				},
				stop_mp3:function(){
					mySound.stop();
				}
			});
            $("#detail").bind("click",function(){
                $(".warp").hide();
                $("#layer1").show();
            });
            $("#layer1 .close-prev").bind("click",function(){
                $("#layer1").hide();
                $(".warp").show();
            });
            //消息
			var mySound;
            $("#msg").bind("click",function(){
                $("#layer2").show();
				voice = $(this).attr('data-index');
				$.play_mp3(voice);
            });
            $("#layer2 .close-prev").bind("click",function(){
                $("#layer2").hide();
				$.stop_mp3();
            });

            //刷新
            $("#refresh").bind("click",function(){
              $.post("__URL__/refresh", {},
                 function(data){
                  if (data.status==1) {
                    $("#layer3").show(); }
                 }, "json");
                
            });
            $("#layer3 .close-prev").bind("click",function(){
                $("#layer3").hide();
                location.replace(location.href);
            });
            //分享
            $(".reply_other").bind("click",function(){
            send_id = $(this).attr('data-index');
                $(".reply_id").val(send_id);
                $("#layer3").show();
            });

            $("#say").bind("click",function(){
              $.post("__URL__/say", {},
                 function(data){
                  if (data.status==1) {
                    location.replace(location.href); }
                 }, "json");
                
            });
        });
    </script>
</head>

<body>
  <!--分享-->
<div class="ms-box share" style="display:none;" id="layer3">
  <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
  <form name="from" id="reply_other" method="post" action="{:U('Resume/reply_other')}">
    <div class="share-tip"><img src="__ROOT__/weixin_statics/images/share.png" alt=""></div>
    <p class="txt">直接输入人事的手机号码或邮箱地址，可直接给TA投递简历。</p>
	<p class="txt">步骤一：点击投递方式：<br><a style="color: #FFFFFF;font-size: 1em;	width: 40%;margin-left: 5%;" href="javascript:" onclick="$('#email').addClass('hidden');$('#phone').removeClass('hidden');">◎短信投递</a><a style="color: #FFFFFF;font-size: 1em;	width: 40%;margin-left: 10%;" href="javascript:"  onclick="$('#phone').addClass('hidden');$('#email').removeClass('hidden');">◎邮件投递</a></p>
	<br><br>
    <div class="ms-b1" id="phone">
        <h2>步骤二：输入手机号码：</h2>
        <h3 class="date def"><input type="text"  name="phone" class="text"></h3>
    </div>
    <div class="ms-b1 hidden" id="email">
        <h2>步骤二：输入邮箱地址：</h2>
        <h3 class="date def"><input type="text"  name="mail" class="text"></h3>
    </div>
  <input type="hidden" readonly class="reply_id" name="uid" value="0">
          <h3><a href="javascript:" class="page-btn pink concell" onclick="$('#reply_other').submit()">发送</a></h3>
  </form>
</div>
<!--第一个层，详细介绍-->
<div class="user-box-list" style="display:none;" id="layer1"> <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
  <h2>工作经验</h2>
  <volist name="resume.worklist" id="wo">
  <p>{$wo.jobbegin}至{$wo.jobend}<br />
    {$wo.jobname}<br />
    {$wo.jobzhiwei}</p>
  </volist>
  <h2>自我介绍</h2>
  <p>{$resume.resume.myinfo}</p>
</div>
<!--第二个层，弹出电波-->
<div class="user-box-db" style="display:none;" id="layer2"> <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i> </div>
<!--第三个层，刷新弹出层-->
<div class="user-shuaxin-box" style="display:none;" id="layer3"> <i class="close-prev"><img src="__ROOT__/weixin_statics/images/close.png" alt=""></i>
  <div class="user-shuaxin-bin">
    <h2><img src="__ROOT__/weixin_statics/images/ok.png" alt="">刷新成功！</h2>
    <p>每次刷新您的简历都将排在第一位，如果您急着找工作，可以经常进来刷新一下。</p>
  </div>
</div>
<div class="top-bar">
  <div class="top-logo"><a href="{:U('Index/index')}"><img src="__ROOT__/weixin_statics/images/home.png" alt="">返回首页</a></div>
  <div class="top-prev"><a href="javascript:history.go(-1)"><img src="__ROOT__/weixin_statics/images/arrow_left.png" alt="">返回上一页</a></div>
</div>

<div class="warp" >
  <eq name="face" value="1"><div class="shaxin"><a href=""><font color="red">您还没有添加头像 请回到微信页面发送“修改照片”</font></a></div></eq>
  <eq name="voice" value="1"><div class="shaxin"><a href=""><font color="red">您还没有添加语音简历 请回到微信页面发送“修改语音简历”</font></a></div></eq>
  <eq name="jingyan" value="1"><div class="shaxin"><a href="{:U('Resume/resume_02')}"><font color="red">您还没有添加求职意向和工作状态 请点击填写完整</font></a></div></eq>
  <eq name="ex" value="1"><div class="shaxin"><a href="{:U('Resume/resume_03')}"><font color="red">您还没有添加工作经验 请点击填写完整</font></a></div></eq>
  <eq name="in" value="1"><div class="shaxin"><a href="{:U('Resume/resume_04')}"><font color="red">您还没有添加自我介绍 请点击填写完整</font></a></div></eq>
 <div class="shaxin"><!--<img src="__ROOT__/weixin_statics/images/shuaxin-blue.png" alt="">-->刷新时间：{$resume.ctime|date="Y-m-d H:i:s",###}</div>
  <div class="user-big"><img src="{$resume.pic.url}" width="" alt=""></div>
  <div class="user-title"><span><a href="javascript:">{$resume.truename}</a><em>({$resume.xingbie|format_xingbie}，{$resume.shengri|format_age}岁)</em></span><a href="javascript:" id="detail"><img class="ico" src="__ROOT__/weixin_statics/images/list.png" alt=""></a><notempty name="resume.resume.voice"><a href="javascript:" id="msg" data-index="{$resume.resume.voice}"><img class="ico" src="__ROOT__/weixin_statics/images/vol.png" alt=""></a></notempty></div>
  <div class="user-txt">{$resume.shengao}CM/{$resume.tizhong}Kg，{$resume.xueli|format_xueli}，<empty name="resume.resume.jingyan">保密<else/>{$resume.resume.jingyan}年经验</empty> {$resume.pro|getareaname}-{$resume.city|getareaname}-{$resume.area|getareaname}</div>
  <div class="user-mobile"><img src="__ROOT__/weixin_statics/images/mobile.png" alt=""><a href="tel:{$resume.phone}">{$resume.phone}</a></div>
</div>
<div class="jlpeev-bottm yymian-bottm" style="top:10px;"> 
	<i class="ico"><a href="__ROOT__/weixin.php?s=/Resume/resume_01/edit/1" ><img src="__ROOT__/weixin_statics/images/edit.png" alt=""></a></i>
	<i class="ico"><a href="javascript:" id="refresh"><img src="__ROOT__/weixin_statics/images/shuaxin.png" width="" alt=""></a></i>
	<i class="ico"><a href="javascript:" id="say"><eq name="resume.resume.isOpen" value="1"><img id ="sayImg" src="__ROOT__/weixin_statics/images/say.png" alt=""><else/><img id ="sayImg" src="__ROOT__/weixin_statics/images/nosay.png" alt=""></eq></a></i>
  <i class="ico"><a href="javascript:" data-index="{$resume.uid}" class="reply_other" id="yy2"><img src="__ROOT__/weixin_statics/images/yunjianli.png" width="64" alt=""></a></i>
</div>
</body>
</html>
